package com.yunban.project.template.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@Schema(description = "模板组响应")
public class TemplateGroupResp implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "模板组ID")
    private long id;
    @Schema(description = "模板组名称")
    private String name;
    @Schema(description = "示意图")
    private String img;
    @Schema(description = "预览HTML")
    private String html;
    // 是否已收藏
    private boolean collected;
    private boolean hasPublic;
    @Schema(description = "模板组风格")
    private List<StyleResp> styleList = new ArrayList<>();
}
